#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>


#define IS_NUM(al) al != 'l' && al != 'o' && ( (al >= '0' && al <= '9') || (al >= 'a' && al <= 'z'))


static char maps[34] = {
'0','1','2','3','4',
'5','6','7','8','9',
'a','b','c','d','e',
'f','g','h','i','j',
'k','m','n','p','q',
'r','s','t','u','v',
'w','x','y','z'
};

static short r_maps[123];

void init_r_maps();

int convert34to10(const char* num34, int len);

int convert(char* num34, int len, float& ltu, float& lat);

int pow34(int i);